﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopNonreplyStatById : BaseObject
    {
        //begin
        public TopNonreplyStatById(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ServiceStaffId;
        [Size(SizeAttribute.Unlimited)]
        public string ServiceStaffId
        {
            get
            {
                return _ServiceStaffId;
            }
            set
            {
                SetPropertyValue("ServiceStaffId", ref _ServiceStaffId, value);
            }
        }
        private long _NonReplyNum;
        public long NonReplyNum
        {
            get
            {
                return _NonReplyNum;
            }
            set
            {
                SetPropertyValue("NonReplyNum", ref _NonReplyNum, value);
            }
        }
        private string _NonReplyCustomId;
        [Size(SizeAttribute.Unlimited)]
        public string NonReplyCustomId
        {
            get
            {
                return _NonReplyCustomId;
            }
            set
            {
                SetPropertyValue("NonReplyCustomId", ref _NonReplyCustomId, value);
            }
        }
        private TopNonReplyStatOnDay _NonReplyStatOnDay;
        [Association("NonReplyStatOnDayNonreplyStatByIds", typeof(TopNonReplyStatOnDay))]
        public TopNonReplyStatOnDay NonReplyStatOnDay
        {
            get
            {
                return _NonReplyStatOnDay;
            }
            set
            {
                SetPropertyValue("NonReplyStatOnDay", ref _NonReplyStatOnDay, value);
            }
        }
        //end

    }
}
